﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interfaces;
using Entities;

namespace SQLDao
{
    public class SQLDaoFactory : IDaoFactory
    {
        private SQL_Interview_dao dao = new SQL_Interview_dao();
        private SQL_User_dao udao = new SQL_User_dao();
        private SQL_Role_dao rdao = new SQL_Role_dao();

        public IInterviewDAO GetInterviewDAO()
        {
            return dao;
        }

        public IUserDAO GetUserDAO()
        {
            return udao;
        }

        public IRoleDAO GetRoleDAO()
        {
            return rdao;
        }
    }
}
